<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>结算规则</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
 </head>
 <body style="overflow-y: hidden" scroll="no">
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="mallShopSettlePeriodController.do?save">
			<input id="id" name="id" type="hidden" value="${mallShopSettlePeriodPage.id }">
			<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							商家名称:
						</label>
					</td>
					<td class="value">
						<span >${mallShopSettlePeriodPage.mallShop.companyname}</span>
						<span class="Validform_checktip"></span>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							店铺名称:
						</label>
					</td>
					<td class="value">
						<span >${mallShopSettlePeriodPage.mallShop.shopname}</span>
						<span class="Validform_checktip"></span>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							结算周期(天):
						</label>
					</td>
					<td class="value">
						<input class="inputxt" id="settledaycount" name="settledaycount" 
							   value="${mallShopSettlePeriodPage.settledaycount}" datatype="/^[-+]?[0-9]+(\.[0-9]+)?$/,*1-3">
						<span>结算周期小于0表示立即结算</span>
						<span class="Validform_checktip"></span>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							结算服务费:
						</label>
					</td>
					<td class="value">
						<input class="inputxt" id="settlerate" name="settlerate" 
							   value="${mallShopSettlePeriodPage.settlerate * 100}" datatype="/^([1-9]\d*|0)(\.\d{1,4})?$/">%
						<span class="Validform_checktip"></span>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							提前结算费:
						</label>
					</td>
					<td class="value">
						<input class="inputxt" id="settlerateadvance" name="settlerateadvance"
							   value="${mallShopSettlePeriodPage.settlerateadvance * 100}" datatype="/^([1-9]\d*|0)(\.\d{1,4})?$/">%
						<span class="Validform_checktip"></span>
					</td>
				</tr>
			</table>
		</t:formvalid>
 </body>